close
Closes the browser instance.
If the currently loaded web page registers the onbeforeunload
JavaScript event and fireBeforeUnload tells the browser to fire the beforeunload
event, then this method will not close the browser immediately.
In this case, the BeforeUnloadCallback will be invoked, and if the callback instructs the browser to stay on the web page, the browser will not close.
If the browser is already closed, this method does nothing.
Since
8.0.0